@echo off
:: MXSPLI-ShareMX
:: MixSoft Programming Language Interpreter
:: Version v2_ShareMXv1
:: Developers: Mihail Mojsoski
set root=%cd%
echo %cd%
cd..
cd files
md %~1
cd %~1
set froot=%cd%
(
echo at Console
echo [
echo 	use CONSOLE_OUT as Out
echo 	use CONSOLE_PAUSE as Pause
echo ]
echo code Header
echo [
echo 	execute file Code
echo ]
) > "%~1.mcode"
(
echo code %~1
echo [
echo 	Out "%LNG_MDFY%"
echo 	Pause "%LNG_PAUSE%"
echo ]
) > "Code.mcode"
start "" "%root%\notepad++" -nosession "%froot%"